package com.hnust.entity.dto;

import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 创建人：zhangRuWang
 * 创建时间：2022/5/8
 * 描述：
 */
@Setter
@Getter
@NoArgsConstructor
public class TreeNodeDto implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer code;
    private String label;
    private List<TreeNodeDto> treeNodeDtos;
    public TreeNodeDto(Integer code,String label){
        this.code=code;
        this.label=label;
        this.treeNodeDtos=new ArrayList<>();
    }
}
